﻿using Shop.RemoteModel.Coupon.Model;
using WeDonekRpc.Client;
using WeDonekRpc.Model;

namespace Shop.Service.Interface
{
    public interface ICouponService
    {
        long Add (CouponSet data);
        void Delete (long id);
        bool Enable (long id);
        CouponDto Get (long id);
        bool Offshelf (long id);
        PagingResult<CouponDatum> Query (CouponQueryParam query, IBasicPage paging);
        bool Set (long id, CouponSet data);
        bool Stop (long id);
    }
}